Optimal. Leaf size=86 \[ \frac{(a+b x) \log (a+b x)}{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)}-\frac{(a+b x) \log (d+e x)}{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0307776, antiderivative size = 86, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.107, Rules used = {646, 36, 31} \[ \frac{(a+b x) \log (a+b x)}{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)}-\frac{(a+b x) \log (d+e x)}{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 646
Rule 36
Rule 31
Rubi steps
\begin{align*} \int \frac{1}{(d+e x) \sqrt{a^2+2 a b x+b^2 x^2}} \, dx &=\frac{\left (a b+b^2 x\right ) \int \frac{1}{\left (a b+b^2 x\right ) (d+e x)} \, dx}{\sqrt{a^2+2 a b x+b^2 x^2}}\\ &=\frac{\left (b \left (a b+b^2 x\right )\right ) \int \frac{1}{a b+b^2 x} \, dx}{(b d-a e) \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{\left (e \left (a b+b^2 x\right )\right ) \int \frac{1}{d+e x} \, dx}{b (b d-a e) \sqrt{a^2+2 a b x+b^2 x^2}}\\ &=\frac{(a+b x) \log (a+b x)}{(b d-a e) \sqrt{a^2+2 a b x+b^2 x^2}}-\frac{(a+b x) \log (d+e x)}{(b d-a e) \sqrt{a^2+2 a b x+b^2 x^2}}\\ \end{align*}
Mathematica [A] time = 0.0187443, size = 42, normalized size = 0.49 \[ \frac{(a+b x) (\log (a+b x)-\log (d+e x))}{\sqrt{(a+b x)^2} (b d-a e)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.157, size = 41, normalized size = 0.5 \begin{align*}{\frac{ \left ( bx+a \right ) \left ( \ln \left ( ex+d \right ) -\ln \left ( bx+a \right ) \right ) }{ae-bd}{\frac{1}{\sqrt{ \left ( bx+a \right ) ^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.59554, size = 58, normalized size = 0.67 \begin{align*} \frac{\log \left (b x + a\right ) - \log \left (e x + d\right )}{b d - a e} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.401514, size = 128, normalized size = 1.49 \begin{align*} \frac{\log{\left (x + \frac{- \frac{a^{2} e^{2}}{a e - b d} + \frac{2 a b d e}{a e - b d} + a e - \frac{b^{2} d^{2}}{a e - b d} + b d}{2 b e} \right )}}{a e - b d} - \frac{\log{\left (x + \frac{\frac{a^{2} e^{2}}{a e - b d} - \frac{2 a b d e}{a e - b d} + a e + \frac{b^{2} d^{2}}{a e - b d} + b d}{2 b e} \right )}}{a e - b d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.24142, size = 101, normalized size = 1.17 \begin{align*} \frac{\log \left (\frac{{\left | 2 \, b x e + b d + a e -{\left | b d - a e \right |} \right |}}{{\left | 2 \, b x e + b d + a e +{\left | b d - a e \right |} \right |}}\right ) \mathrm{sgn}\left (b x + a\right )}{{\left | b d - a e \right |}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]